//
//  BasePlayVC.h
//  ImGuider
//
//  Created by 王鹏宇 on 2017/8/26.
//  Copyright © 2017年 AudioCtrip. All rights reserved.
//

#import "BaseViewController.h"
#import "LoginVC.h"
#import "DownloadListDAO.h"
#import "RatingVC.h"


typedef NS_ENUM(NSInteger,playFunctionType) {
    
    PlayFuntionLoopSwith = 200, // 连续播放
    PlayFuntionAutomaticSwith,  // 自动导览
    PlayFuntionAsk,             // 提问
    PlayFuntionComment,         // 写点评
    PlayFuntionFeedback,        // 意见反馈
    PlayFuntionChangeMap,       // 地图切换
};

@interface BasePlayVC : BaseViewController

@property (nonatomic, strong) LineModel *lineModel;// 没有时获取，暂时为下载页面使用
@property (nonatomic) NSInteger pageType;// 1为下载页面 2 为新的预览页面

@property (nonatomic) BOOL isStraightPlay;//去到某些页面 播放不停一直播

@property (nonatomic, strong) UIButton * commentBtn;
@property (nonatomic, strong) UIButton * changeMapBtn;
@property (nonatomic, strong) UIButton * questionBtn;
@property (nonatomic)BOOL isOpen;//判断fold 按钮 展开与否
- (void)goLogin;
- (void)initScenicFunctionItemView;// 景点初始化 功能按钮view

- (void)initCityTourFunctionItemView;// 线路初始化  功能按钮viw

- (void)open;//折叠功能按钮 开
- (void)off;// 关

@property (nonatomic) BOOL alert;// 是否显示提示下载框
@end
